#!/bin/bash
echo "stop server start"
docker-compose stop pig-boot
echo "stop server end"
docker-compose rm -f -v pig-boot
docker rmi pig-boot
echo "rebuild server start"
docker-compose build --no-cache pig-boot
echo "rebuild server end"
echo "run server start"
docker-compose up -d pig-boot
echo "run server end"
echo "finish!"